package com.casems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tch
 * @since 2023-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Medical implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 药品主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 药品名字
     */
    private String name;

    /**
     * 排序权重
     */
    private Integer sort;

    /**
     * 药品类型：处方和非处方
     */
    private String type;


}
